package com.acce.core.config;

public enum ReturnCodes {

	AUTH_INVALID("MMZS0000", "无权访问!"),
	QUERY_CARPACKING_LIST_FAIL("MMZS0108", "查询车位列表失败!"),
	QUERY_CARPACKING_FAIL("MMZS0110", "查询车位信息失败!"),
	ADD_IN_RECORD_FAIL("MMZS0111", "添加进场信息失败!"),
	REPEATED_CAR_FAIL("MMZS01121", "车位使用中,不能添加进场数据!"),
	REPEATED_RECORD_FAIL("MMZS01122", "进场单号不允许重复!"),
	CAR_LEAVE("MMZS01131", "车辆已离场!"),
	CAR_OVERTIME_LEAVE("MMZS01132", "车辆已超时, 请先交纳超时管理费用后再办理离场!"),
	QUERY_PAY_CAR_FAIL("MMZS0120", "查询缴费车辆失败!"),
	ADD_PAY_FEE_FAIL("MMZS0121", "添加缴费信息失败!"),
	HAVE_ACCOUNT("50010110", "账号已存在!"),
	REGISTER_FAIL("50010120", "个人用户注册失败!"),
	OTHER_COMPANY_REGISTER("50010130", "已有其他企业注册!"),
	HAVE_COMAPNY("50010140", "企业已存在!"),
	REGISTER_COMPANY_FAIL("50010150", "注册企业失败!"),
	HAVE_ADMIN_FAIL("50010160", "管理员已注册其他公司!"),
	NOT_HAVE_ACCOUNT("50020110", "账号不存在!"),
	PASSWORD_ERROR("50020120", "密码错误!"),
	LOGIN_FAIL("50020130", "登录失败!"),
	LOGINOUT_FAIL("50020140", "注销失败!"),
	QUERY_USER_INFO_FAIL("50030110", "查询用户信息失败!"),
	RESET_USER_FAIL("50030120", "修改用户信息失败!"),
	QUERY_COMPANY_INFO_FAIL("50030130", "查询公司信息失败!"),
	UPDATE_COMPANY_INFO_FAIL("50030140", "修改公司信息失败!"),
	MAKE_USER_QRCODE_FAIL("50030150", "生成用户二维码信息失败!"),
	ADD_DELIVER_ADDRESS_FAIL("50030160", "添加公司收发货地址失败!"),
	UPDATE_DELIVER_ADDRESS_FAIL("50030170", "修改公司收发货地址失败!"),
	DELETE_DELIVER_ADDRESS_FAIL("50030180", "删除公司收发货地址失败!"),
	BINDING_QQ_FAIL("50040110", "绑定QQ失败!"),
	RESET_PWD_FAIL("50040120", "修改密码失败!"),
	QUERY_ORGANIZA_STRUCT_FAIL("50050110", "查询组织架构失败!"),
	ADD_DEPARTMENT_FAIL("50050120", "添加部门失败!"),
	DELETE_DEPARTMENT_FAIL("50050130", "删除部门失败!"),
	RENAME_DEPARTMENT_FAIL("50050140", "部门重命名失败!"),
	DEPARTMENT_EXISTED("50050150", "部门已存在!"),
	NOT_HAVE_COMAPNY("50060110", "公司不存在!"),
	JOIN_COMAPNY_FAIL("50060120", "加入公司失败!"),
	HAVE_JOIN_COMPANY("50060130", "已加入公司!"),
	JOIN_COMPANY_AUDIT_FAIL("50060140", "加入公司审批失败!"),
	JOIN_COMPANY_AUDITED("50060150", "已申请加入该公司的!"),
	EXIT_COMPANY_FAIL("50060160", "退出公司失败!"),
	QUERY_COMPANY_RELATION_FAIL("50090110", "查询渠道供应商失败!"),
	QUERY_COMPANY_RELATION_CITY_FAIL("50090120", "查询地区渠道供应商失败!"),
	GET_COMPANY_RELATION_CITY_FAIL("50090130", "获取渠道公司所在地区失败!"),
	ADD_COMPANY_RELATION_FAIL("50090140", "添加渠道供应商失败!"),
	QUERY_COMPANY_ALL_EMPLOYEE_FAIL("50090150", "查询公司及员工失败!"),
	UNKNOWN_EX("00009001", "未知异常!"),
	SMS_CODE_FAIL("00009011", "验证码错误!"),
	SMS_CODE_TIME_OUT("00009012", "验证码超时!"),
	SMS_CODE_NOT_EXISTS("00009013", "验证码未获取!"),
	PARAM_NULL("00000980", "参数错误!"),
	XML_TO_JSON_FAIL("00009003", "XML转换JSON失败!"),
	SIGN_VALID_FAIL("00000960", "签名验证失败!"),
	SIGN_MAKE_FAIL("00000950", "签名生成失败!"),
	TOKEN_INVALID("00000930", "token失效!"),
	FORMAT_DATE_FAIL("00009007", "时间格式化失败!"),
	OFTEN_REQUEST("00009008", "频繁请求!"),
	QUERY_FAIL("00009009", "查询失败!"),
	TOKEN_MAKE_FAIL("00000940", "token生成失败!"),
	BUSINESS_PARAM_NULL("00000970", "业务参数错误!"),
	NET_CHANGE("00000910", "网络变化!"),
	OTHER_DEVICE_LOGIN("00000920", "其他设备登录!"),
	OPENID_HAVE_BINDING("00000950", "已绑定公众号!"),
	OPENID_NOT_BINDING("00000955", "未绑定公众号!"),
	OPENID_BINDING_FAIL("00000965", "微信号绑定失败!"),
	OTHER_OPENID_BINDING("00000975", "该账号已绑定其他微信号!"),
	SEND_SMS_FAIL("00000987", "验证码发送失败!"),
	NOT_GET_OPENID("00009999", "未获取微信认证信息,请重试!"),
	SUCCESS("200", "成功!");
	
	private String code;
	
	private String message;
	
	private ReturnCodes(String code, String message) {
		this.code = code;
		this.message = message;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
	
}
